<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');

class ComAlibabaOceanOpenplatformBizLogisticsCommonModelSellerOpenPlatformLogisticsOrderSendGood extends SDKDomain {

       	
    private $logisticsId;
    
        /**
    * @return 物流编号
    */
        public function getLogisticsId() {
        return $this->logisticsId;
    }
    
    /**
     * 设置物流编号     
     * @param String $logisticsId     
     * 参数示例：<pre>LP00616288919385</pre>     
     * 此参数必填     */
    public function setLogisticsId( $logisticsId) {
        $this->logisticsId = $logisticsId;
    }
    
        	
    private $tradeOrderId;
    
        /**
    * @return 交易主订单号
    */
        public function getTradeOrderId() {
        return $this->tradeOrderId;
    }
    
    /**
     * 设置交易主订单号     
     * @param Long $tradeOrderId     
     * 参数示例：<pre>3657499272179232333</pre>     
     * 此参数必填     */
    public function setTradeOrderId( $tradeOrderId) {
        $this->tradeOrderId = $tradeOrderId;
    }
    
        	
    private $tradeOrderItemId;
    
        /**
    * @return 交易子订单号
    */
        public function getTradeOrderItemId() {
        return $this->tradeOrderItemId;
    }
    
    /**
     * 设置交易子订单号     
     * @param Long $tradeOrderItemId     
     * 参数示例：<pre>3657499272179232333</pre>     
     * 此参数必填     */
    public function setTradeOrderItemId( $tradeOrderItemId) {
        $this->tradeOrderItemId = $tradeOrderItemId;
    }
    
        	
    private $description;
    
        /**
    * @return sku描述
    */
        public function getDescription() {
        return $this->description;
    }
    
    /**
     * 设置sku描述     
     * @param String $description     
     * 参数示例：<pre>颜色: 黑色; 尺码: M;</pre>     
     * 此参数必填     */
    public function setDescription( $description) {
        $this->description = $description;
    }
    
        	
    private $quantity;
    
        /**
    * @return 数量
    */
        public function getQuantity() {
        return $this->quantity;
    }
    
    /**
     * 设置数量     
     * @param Double $quantity     
     * 参数示例：<pre>1</pre>     
     * 此参数必填     */
    public function setQuantity( $quantity) {
        $this->quantity = $quantity;
    }
    
        	
    private $unit;
    
        /**
    * @return 单位
    */
        public function getUnit() {
        return $this->unit;
    }
    
    /**
     * 设置单位     
     * @param String $unit     
     * 参数示例：<pre>件</pre>     
     * 此参数必填     */
    public function setUnit( $unit) {
        $this->unit = $unit;
    }
    
        	
    private $productName;
    
        /**
    * @return 商品名称
    */
        public function getProductName() {
        return $this->productName;
    }
    
    /**
     * 设置商品名称     
     * @param String $productName     
     * 参数示例：<pre>品名</pre>     
     * 此参数必填     */
    public function setProductName( $productName) {
        $this->productName = $productName;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "logisticsId", $this->stdResult )) {
    				$this->logisticsId = $this->stdResult->{"logisticsId"};
    			}
    			    		    				    			    			if (array_key_exists ( "tradeOrderId", $this->stdResult )) {
    				$this->tradeOrderId = $this->stdResult->{"tradeOrderId"};
    			}
    			    		    				    			    			if (array_key_exists ( "tradeOrderItemId", $this->stdResult )) {
    				$this->tradeOrderItemId = $this->stdResult->{"tradeOrderItemId"};
    			}
    			    		    				    			    			if (array_key_exists ( "description", $this->stdResult )) {
    				$this->description = $this->stdResult->{"description"};
    			}
    			    		    				    			    			if (array_key_exists ( "quantity", $this->stdResult )) {
    				$this->quantity = $this->stdResult->{"quantity"};
    			}
    			    		    				    			    			if (array_key_exists ( "unit", $this->stdResult )) {
    				$this->unit = $this->stdResult->{"unit"};
    			}
    			    		    				    			    			if (array_key_exists ( "productName", $this->stdResult )) {
    				$this->productName = $this->stdResult->{"productName"};
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "logisticsId", $this->arrayResult )) {
    			$this->logisticsId = $arrayResult['logisticsId'];
    			}
    		    	    			    		    			if (array_key_exists ( "tradeOrderId", $this->arrayResult )) {
    			$this->tradeOrderId = $arrayResult['tradeOrderId'];
    			}
    		    	    			    		    			if (array_key_exists ( "tradeOrderItemId", $this->arrayResult )) {
    			$this->tradeOrderItemId = $arrayResult['tradeOrderItemId'];
    			}
    		    	    			    		    			if (array_key_exists ( "description", $this->arrayResult )) {
    			$this->description = $arrayResult['description'];
    			}
    		    	    			    		    			if (array_key_exists ( "quantity", $this->arrayResult )) {
    			$this->quantity = $arrayResult['quantity'];
    			}
    		    	    			    		    			if (array_key_exists ( "unit", $this->arrayResult )) {
    			$this->unit = $arrayResult['unit'];
    			}
    		    	    			    		    			if (array_key_exists ( "productName", $this->arrayResult )) {
    			$this->productName = $arrayResult['productName'];
    			}
    		    	    		}
 
   
}
?>